Paste a text file into the frontmost window, then displays a Convert Text to HTML Dialog. You can remove the line "set line feed conversion to psP" if you don't want to convert the text to HTML. Finally the scripts asks if you want to change all tabs in the document into non breaking spaces, this can also be removed or changed if you want to.